// -----------------------------------------------
// Author:     code34 nicolas_boiteux@yahoo.fr
// Edited by:  Neumatic
// Warcontext: Client init configuration file
// -----------------------------------------------
if (!local player) exitWith {};

private ["_listofweapons"];

// Set view & grid
setTerrainGrid wcterraingrid;
setViewDistance wcviewdist;

// Turn off ao marker
setGroupIconsVisible [false, false];

// Set environment sound with lobby parameter
if (wcwithenvironment == 0) then {enableEnvironment false};

//A3 TODO: ACE
// Turn off ace marker system
ace_sys_tracking_markers_enabled = false;

// -------------------------------------------
// Don't edit below init of working variables
// -------------------------------------------
wcadmin = false;

wccamnvg = true;

wccam = objNull;

wcanim = "";

wcplayerside = west;

wcammoboxindex = 0;

wcobjectiveindex = -1;

wcammoused = 1;

wcnumberofkill = 0;

wcmissionokW = "";

wcplayers = [];

wcteamscore = 0;

wccountoftk = 0;

player setVariable ["deadmarker", false, true];

wcbonus = 0;

wcrankchanged = false;

wcteamplayscore = 0;

wcdragged = false;

wcrankactivate = true;

wccanwriteinfotext = true;

wcbombingavalaible = 0;

wcspectate = nil;

wcbombingsupport = nil;

wcdetected = false;

wcplayerinnuclearzone = false;

wcteamlevel = 5;

wcindexmusic = 0;

wcclientlogs = ["Client logs - Playeruid: " + getPlayerUID player];

wclistofweaponsindex = 0;

// Flag use for arcade jump
wcplayjumpmove = 0;

// Flag to go through fast time
wcadvancetodate = nil;

// Personnal vehicle
wcmyatv = objNull;

// Original clothes of player
wcoriginalclothes = typeOf player;

// If autoload we load player weapons
if (wcautoloadweapons == 1) then {
	_listofweapons = [] call WC_fnc_enumweapons;
	wclistofaddonweapons = _listofweapons - wclistofweapons;
} else {
	wclistofaddonweapons = [];
};